package com.gao.pv;

import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */
public class Share {
    public static boolean mark = true;
    public static ReentrantLock lock = new ReentrantLock();
    public  static Condition producer = lock.newCondition();
    public static   Condition consumer = lock.newCondition();
}
